export function useDevice() {
  return {
    isMac: navigator.userAgent.indexOf('Mac') > -1,
    isWin: navigator.userAgent.indexOf('Windows') > -1
  }
}
